package com.mingqijia.gassafety.webserver.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @program: gassafety
 * @description: 组织部门管理列表请求参数
 * @author: zm
 * @create: 2024-07-30 14:31
 **/
@Data
@ApiModel(value = "账号列表入参")
public class AccountNumberEditRequest extends AccountNumberIdRequest{


    @ApiModelProperty("员工工号")
    @NotNull(message = "员工工号不能为空")
    private String staffCode;

    @ApiModelProperty("用户姓名")
    @NotNull(message = "用户姓名不能为空")
    private String userName;

    /** 用户账号 */
    @ApiModelProperty("账号")
    @NotNull(message = "账号不能为空")
    private String userCode;


    @ApiModelProperty("手机号")
    @NotNull(message = "手机号不能为空")
    private String contactInfo;

    @ApiModelProperty("员工id")
    @NotNull(message = "员工id不能为空")
    private String staffId;

    @ApiModelProperty("组织部门id")
    @NotNull(message = "组织部门id不能为空")
    private String orgId;

    @ApiModelProperty("角色ids数组")
    private List<String> roleIds;

    /** 说明 */
    @ApiModelProperty("说明")
    private String comments;


}
